<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">

let e = "𠮷";//
console.error("length = " + e.length);
console.error(e.charAt(0));
console.error(e.charAt(1));
console.error(e.charCodeAt(0));
console.error(e.charCodeAt(1));

console.error("---------------------------");

let a = "𠮷a";
console.error(a.codePointAt(0));
console.error(a.codePointAt(1));
console.error(a.charCodeAt(2));

console.error("---------------------------");

console.error(a.codePointAt(0).toString(16));
console.error(a.codePointAt(1).toString(16));
console.error(a.charCodeAt(2).toString(16));

console.error("---------------------------");

for (let ch of a) {
	console.error(ch.codePointAt(0).toString(16));
}

</script>

</body>
</html>